home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-05-19 | 2.0 KB | 53 lines | [TEXT/R*ch] |
- Sort Lines… (version 1.0, ©1993, Carl B. Burch)
-
- This BBEdit extension adds to BBEdit the ability to sort lines, much like the
- Unix utility “sort”, with some options from “sort”:
-
- • Ignoring each line’s first n characters,
- • Sorting in reverse,
- • Removing duplicate lines,
- • Ignoring the lines’ leading white space, and
- • Folding uppercase to lowercase.
-
- This program is free and may be distributed freely provided that this
- information file accompanies it.
-
-
- Technicalities:
-
- Sort Lines… is not industrial strength: you are limited by memory. Upping the
- BBEdit memory allocation should be enough to fix any memory problems you may
- run into, however. (Memory problems may be identified by an alert box saying,
- “Out of memory.”)
-
- Note that when removing duplicate lines, Sort Lines… will always honor the
- first n characters, leading white space, or case, no matter what you’ve said.
-
- Further note that, if ignoring leading white space and the first n
- characters, Sort Lines… will first ignore the white space and, if it hasn’t
- reached n yet, will keep on ignoring characters until it gets to n.
-
-
- Reaching me:
-
- Feel free to contact me to report bugs, to suggest changes, to obtain source
- code, or to just say hello. I’ll be happy to receive and/or incorporate any
- suggestions, especially if they’re good. I hope to release in the future more
- BBEdit extensions; don’t hesitate to provide me with suggestions: useful
- programs are most fun to write!
-
- Internet: carl@mailhost.ecn.uoknor.edu
- U. S. Mail: Carl B. Burch
- P. O. Box 2025
- Norman, OK 73070-2025
-
-
- Acknowledgements:
-
- Thanks to Rich Siegel for writing BBEdit and for, even when switching to a
- commercial application, maintaining a free version for the rest of us. Thanks
- also to the University of Oklahoma’s Engineering Computing Network for
- motivating me to learn Macintosh programming and to the voters of the State
- of Oklahoma, to whom this program is dedicated, for providing me with
- scholarship money so that I can afford to learn Macintosh programming.
-